#include "GLFWApplication.hpp"

#include <stdio.h>
#ifdef _WIN32
#include <windows.h>
#include <mmsystem.h>
#endif

extern BaseApplication*	app;

int main()
{

	if ((app->Initialize()) != 0) {
		printf("App Initialize failed, will exit now.");
		return -1;
	}

	while (!app->IsQuit())
	{
		app->Tick();
		::Sleep(1);
	}
	app->Finalize();
	return 0;
}